package com.example.cloud.service.system;

import com.example.cloud.model.system.Role;

import java.util.List;

/**
 * Created by wangtao on 2018/2/3.
 */
public interface RoleService {
    Role findOne(Long id);
    Role findOneFromCache(Long id);
    List<Role> findAll();
    void doSave(Role role);
    void doUpdate(Role role);
    void loadCache();
}
